package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.MeltCloudChannel;
import com.yami.shop.bean.model.MeltCloudChannelUser;
import com.yami.shop.bean.model.MeltCloudUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeltCloudChannelUserMapper extends BaseMapper<MeltCloudChannelUser> {


    List<MeltCloudUser> getPrivateUserList(@Param("groupId") Long groupId, @Param("channelId") String channelId, @Param("currentUserId") String currentUserId);
    
    List<MeltCloudChannel> getChannelList(@Param("groupId") Long groupId, @Param("userId") String userId);
    
}
